package day18;

import org.junit.Test;
public class ReflectPrc {
    @Test
    public void getClazz() throws ClassNotFoundException {
        Class<?> p1=Class.forName("day18.prc001");
        Class<?> p2=prc001.class;
        Class<?> p3=new prc001().getClass();
        System.out.println(p1.getName());
        System.out.println(p1.getClass());
        System.out.println(p1.getPackage());
        System.out.println(p1.getSimpleName());
    }
}
